//
//  CustomFooter.m
//  忘不了
//
//  Created by rimi on 16/7/15.
//  Copyright © 2016年 handuan. All rights reserved.
//

#import "CustomFooter.h"

@implementation CustomFooter
-(id)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if (self) {
        self.backgroundColor=[UIColor greenColor];
        [self createCustomFooter];
    }
    return self;
    
}
- (void)createCustomFooter{
    self.button = [UIButton buttonWithType:UIButtonTypeSystem];
    [self.button setTitle:@"找不到请点我" forState:UIControlStateNormal];
    self.button.center = self.center;
}
@end
